<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace Admin\Model;

/**
 * Description of ClassPlanModel
 *
 * @author gc
 */
class ClassPlanModel extends \Think\Model
{

    /**
     * 根据ID获取课程安排
     * @param type $id
     * @return type
     */
    public function getClassPlanById($id)
    {
        return M("Class_plan")->where("id=$id")->find();
    }

}
